<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>更新订单</title>
<%@include file="../common/manageLink.jsp"%>
</head>
<body>
<%@include file="../common/managerHeader.jsp"%>
<div class="container-fluid-full">
    <div class="row-fluid">

        <%@include file="../common/managerLeft.jsp"%>
        <!-- start: Content -->
        <div id="content" class="span10">


            <ul class="breadcrumb">
                <li>
                    <i class="icon-home"></i>
                    <a href="index.html">主页</a>
                    <i class="icon-angle-right"></i>
                </li>
                <li><a href="#">修改订单信息</a></li>
            </ul>

            <div class="row-fluid sortable">
                <div class="box span12">
                    <div class="box-header" data-original-title>
                        <h2><i class="halflings-icon white user"></i><span class="break"></span>订单</h2>
                    </div>
                    <div style="margin-top:10px;"></div>
                    <div class="span2"></div>
                    <div class="span8">
                    <c:if test="${!empty order }">
                    <form class="form-horizontal" action="${pageContext.request.contextPath}/ordermanage/updateOrder">
                            <fieldset>
                                <div class="control-group">
                                    <label class="control-label" for="disabledInput">订单ID</label>
                                    <div class="controls">
                                        <input class="input-xlarge disabled"  type="text" value="${order.hoId }" disabled="">
                                        <input type="hidden" id="hoId" name="hoId" value="${order.hoId }">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="">用户id</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input size="16" class="input-xlarge datepicker" type="text" value="${order.userId }" disabled="">
                                            <input type="hidden" id="userId" name="userId" value="${order.userId }">
                                        </div>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="date01">下单时间</label>
                                    <div class="controls">
                                        <input type="text" class="input-xlarge datepicker" id="hoTime" name="hoTime" value="${order.hoTime }">
                                    </div>
                                </div>


                                <div class="control-group">
                                    <label class="control-label" for="">取货码</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="emgId" class="input-xlarge datepicker" size="16" type="text" name="emgId" value="${order.emgId }">
                                        </div>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="">送达地址</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="hoPlace" class="input-xlarge datepicker" size="16" type="text" name="hoPlace" value="${order.hoPlace }">
                                        </div>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="">报酬</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="hoPrice" class="input-xlarge datepicker" size="16" type="text" name="hoPrice" value=${order.hoPrice }>
                                        </div>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="selectError3">订单状态</label>
                                    <div class="controls">
                                        <select id="hoState" class="input-xlarge datepicker" name="hoState" value="${order.hoState }">
                                            <option value="0">未抢</option>
                                            <option value="1">已抢</option>
                                        </select>
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <label class="control-label" for="">快递单号</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="expId" size="16" class="input-xlarge datepicker" type="text" name="expId" value="${order.expId }">
                                        </div>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="">取件地址</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="hoStplace" class="input-xlarge datepicker" size="16" type="text" name="hoStplace" value="${order.hoStplace }">
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <label class="control-label" for="">备注</label>
                                    <div class="controls">
                                        <div class="input-append">
                                            <input id="hoRemark" class="input-xlarge datepicker" size="16" type="text" name="hoRemark" value="${order.hoRemark }">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary">保存</button>
                                    <button onclick="${pageContext.request.contextPath}/ordermanage/manageorder" class="btn">取消</button>
                                </div>
                            </fieldset>
                        </form>
                        </c:if>
                        </div>
                        <div class="span2"></div>
                </div><!--/span-->

            </div><!--/row-->



        </div><!--/.fluid-container-->

        <!-- end: Content -->
    </div><!--/#content.span10-->
</div><!--/fluid-row-->

<div class="clearfix"></div>

<footer>

    <p>
        <span style="text-align:left;float:left">&copy; 2017 <a href="#" alt="">帮帮取管理系统</a></span>

    </p>

</footer>
</body>
</html>